Skip to content

feat: add customizable logging system#401

Closed
enigbe wants to merge 4 commits intolightningdevkit:mainfrom
enigbe:2024-11-configurable-logger
Closed

feat: add customizable logging system#401
enigbe wants to merge 4 commits intolightningdevkit:mainfrom
enigbe:2024-11-configurable-logger

Conversation

@enigbe
Copy link
Copy Markdown
Contributor

@enigbe enigbe commented Nov 12, 2024

Summary

This PR builds on #393 to add a customizable logging system.

What this PR does

  • Introduces a LogWriter interface, allowing Writer variants to handle log output destinations. The supported Writer variants can now:

    • Write logs to the filesystem,
    • Optionally forward to log
    • Relay logs to a custom logger.
  • Makes Writer variants configurable.

  • Expose LogWriter to bindings (pending).

  • Test logging to different destinations.

Related Issue

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants